/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.xo;

import java.util.Date;
import java.util.List;

/**
 * @author william
 */

public interface IXOArray {
    
    public int _int(int index);

    public long _long(int index);

    public double _double(int index);
    
    public Date _date(int index);

    public IXOObject _xo(int index);

    public IXOArray _xa(int index);

    public IXOObject _clone();

    public int _length();
    
    public Object _set(int index, Object value);
    
    public void _add(Object value);
    
    public void _check(int index, String dt, Object value);    
    
    public List<Object> _m();

    public int asInt(int index, int dv);
    
    public long asLong(int index, long dv);

    public double asDouble(int index, double dv);

    public Date asDate(int index, Date dv);

    public String asString(int index);
    
    public IXOObject asXO(int index);
    
    public IXOArray asXA(int index);
    
    public Object obj(int index);
    
    public String json();
    
}
